//
//  ViewController.m
//  OCOperation
//
//  Created by 李江湖 on 2018/7/24.
//  Copyright © 2018年 李江湖. All rights reserved.
//

#import "ViewController.h"
#import "NSString+Category.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSString *str1 = @"3";
    NSString *str2 = @"2";
    NSString *str3 = @"3";
    NSString *str4 = @"4";
    NSString *all = str1.add(str2).minus(str3).multip(str4).numType(2,NSRoundDown);
    NSLog(@"%@",all);
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
